package com.dengjunbo.springcloud.dao;

import com.dengjunbo.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
public interface PaymentDao {
    public int create(Payment payment);
    public Payment getByPaymentId(@Param("id")long id);
}
